package cn.wenhe9.yygh.order.service;

import java.util.Map;

/**
 * @author DuJinliang
 * 2022/4/8
 */
public interface WeixinService {
    /**
     * 生成微信支付二维码
     * @param orderId Long
     * @return ResultResponse
     */
    Map createNative(Long orderId);

    /**
     * 查询支付状态
     * @param orderId String
     * @return ResultResponse
     */
    Map<String, String> queryPayStatus(Long orderId);

    /**
     * 退款
     * @param orderId Long
     * @return Boolean
     */
    Boolean refund(Long orderId);
}
